package com.heima.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.heima.common.result.PageResult;
import com.heima.pojo.dto.VmDTO;
import com.heima.pojo.entity.VendingMachine;
import com.heima.pojo.vo.NodeDetailVO;

/**
 * \* User: chy
 * \* Date: 2025/8/22   14:07
 * \* Description:
 * \
 */
public interface VendingMachineService extends IService<VendingMachine> {
    PageResult<NodeDetailVO> pageResult(VmDTO vmDTO);

    boolean saveVm(VendingMachine vendingMachine);

    boolean updateVmNode(Long id, Long nodeId);
}
